{include file="common/header.tpl"}
<section class="main">	
    <article class="right-col">
    	<h2><a href="{$samrty.const.HOST_BACKEND}index">{$language.title.position}</a> &raquo; {$language.ahref.add}</h2>
        <form name="frmAdd" id="frmAdd" method="post" enctype="multipart/form-data" action="{$smarty.const.HOST_BACKEND}position/save" class="ui">        	
           <!--<input type="hidden" class="text" name="clubsid" id="clubsid" value="{$clubid}" autocomplete="false" />-->
            <ul>
            	{if isset($smarty.session.UNIFORM_ERROR)}
                	<li class="error">
                    	{include file="common/error.tpl" errors=$smarty.session.UNIFORM_ERROR}
                    </li>
                {/if}            	
                <li>
                	<label for="playerid">{$language.label.playerid}:</label>
                    <div class="txt">
                   		<input type="text" class="text" name="playerid" id="playerid" value="" autocomplete="false" />
                   </div>
                </li>
               
                <li>
                	<label for="pnationality">{$language.label.nationality}:</label>
                    <div class="sel">
                   		<select name="pnationality" class="autoload" id="pnationality">
                        	<option value="">{$language.common.selected}</option>
							{html_options options=$arrnational}
						</select>
                   </div>
                </li>
                 <li>
                	<label for="pleague">{$language.label.league}:</label>
                   <div class="sel">
                   		<select name="pleague" class="autoload" id="pleague">
                        	<option value="">{$language.common.selected}</option>
							{html_options options=$league}
						</select>
                   </div>
                </li>
                <li>
                	<label for="pclubid">{$language.label.clubid}:</label>
                   <div class="sel">
                   		<select name="pclubid" id="pclubid">
                        	<option value="">{$language.common.selected}</option>
							{html_options options=$language.club}
						</select>
                   </div>
                </li>
                <li>
                	<label for="pcategoryid">{$language.label.categoryid}:</label>
                   <div class="sel">
                   		<select name="pcategoryid" id="pcategoryid">
                        	<option value="">{$language.common.selected}</option>
							{html_options options=$position}
						</select>
                   </div>
                </li>
                <li>
                	<label for="pfrom">{$language.label.y_from}:</label>
                   <div class="sel">
                   		<select name="pfrom" id="pfrom">
                        	<option value="">{$language.common.selected}</option>
						{foreach from=$years item=year}
                            <option value="{$year}">{$year}</option>
                         {/foreach}
						</select>
                   </div>
                </li>
                 <li>
                	<label for="pto">{$language.label.y_to}:</label>
                    <div class="sel">
                   		<select name="pto" id="pto">
                        	<option value="">{$language.common.selected}</option>
						{foreach from=$years item=year}
                            <option value="{$year}">{$year}</option>
                         {/foreach}
						</select>
                   </div>
                </li>
                              
                <li>
                 	<button type="submit"><strong>{$language.btn.add}</strong></button>
                    <button type="button" class="cancel" onclick="javascript:document.location.href='{$back}'"><strong>{$language.btn.cancel}</strong></button>
                </li>
            </ul>
        </form>
    </article> 
</section>
{include file="common/footer.tpl"}
                
